FROM openjdk:8

MAINTAINER tirfulium <trifolium.wang@xuxinmedia.com>

LABEL app="tutu-cms" version="1.0.0" by="trifolium"

ENV APP_VERSION 1.0.0-SNAPSHOT

RUN mkdir /app

COPY ./service/target/tutu-cms-admin-$APP_VERSION.jar /app/app.jar

#CMD java -jar /app/app.jar
ENTRYPOINT ["java","-jar","/app/app.jar"]

EXPOSE 8080